//
//  NSArray+Util.h
//  wozhua
//
//  Created by 王洋 on 14/10/29.
//  Copyright (c) 2014年 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSArray (Util)

//检查数组长度后再截取，避免数组越界
- (NSMutableArray *)subarrayAfterCheckWithRange:(NSRange)range;

- (id)objectAtIndexSafe:(NSUInteger)index;

- (NSDictionary *)dictionaryWithKeyPath:(NSString *)keyPath;

@end
